<script>
	export default {
		onLaunch: function(o) {
			
		},
		onShow: function(o) {
			console.log(o);
			if(o.query == {} ? '':o.query.scene){
				let pid = decodeURIComponent(o.query.scene),
					start = pid.indexOf('=')+1,
					end = pid.length;
				let newPid = pid.substr(start,end)
				console.log(newPid);
				this.$u.vuex('vuex_pid',newPid)
			};
		},
		onHide: function() {
			// console.log(o,'App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "uview-ui/index.scss";
	page{
		background-color: #F5F5F5;
		.submit{
			background: linear-gradient(#2890E7,#2261E2);
			color: #FFFFFF;
			border-radius: 50rpx;
			font-size: 28rpx;
			width: 90%;
			margin: 50rpx auto 10rpx;
		}
	}
</style>
